Function: icalendar-date/time<
icalendar-date/time< is a byte-compiled function defined in
icalendar-utils.el.gz.
Signature
(icalendar-date/time< DT1 DT2)
Documentation
Return non-nil if DT1 is strictly earlier than DT2.
DT1 and DT2 must be either icalendar-date or icalendar-date-time
values. If they are not of the same type, only the date in the
icalendar-date-time value will be considered.
Other relevant functions are documented in the icalendar group.
Shortdoc
;; icalendar
(icalendar-date/time< '(12 15 2024) '(12 15 2024))
=> nil
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/icalendar-utils.el.gz
(defun ical:date/time< (dt1 dt2)
"Return non-nil if DT1 is strictly earlier than DT2.
DT1 and DT2 must be either `icalendar-date' or `icalendar-date-time'
values. If they are not of the same type, only the date in the
`icalendar-date-time' value will be considered."
(cl-typecase dt1
(ical:date
(if (cl-typep dt2 'ical:date)
(ical:date< dt1 dt2)
(ical:date< dt1 (ical:date-time-to-date dt2))))
(ical:date-time
(if (cl-typep dt2 'ical:date-time)
(ical:date-time< dt1 dt2)
(ical:date< (ical:date-time-to-date dt1) dt2)))))